package com.matt.malltinylombok.example;

import lombok.NonNull;

/**
 * NonNullExample
 * Created by jiachun.lu on 2025/01/27.
 */
public class NonNullExample {
    private String name;
    public NonNullExample(@NonNull String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        new NonNullExample("test");
        new NonNullExample(null);
    }
}
